#include <stdio.h>

//https://www.nowcoder.com/practice/192d1039c3d44155bb868073f5482670?tpId=290&tqId=309109&ru=/exam/oj/ta&qru=/ta/beginner-programmers/question-ranking&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D290

int main() {
    int num = 0;
    while (scanf("%d", &num) != EOF) {
        for (int i = 0; num--; i++) {
            for (int j = num; j; j--) {
                printf("  ");
            }
            for (int k = 0; k <= i; k++) {
                printf("* ");
            }
            printf("\n");
        }
    }
    return 0;
}